package rolesystem.roles.carry;


import rolesystem.core.RoleAction;
import rolesystem.middle.utilityclasses.MessagePayload;
import rolesystem.roles.KnownEvent;


public class Master 
{

	/**
	 * Role identifier.
	 */
	public static final String ROLE_ID="carry.Master";

	
	public static final KnownEvent KE_iAmHere=new KnownEvent("iAmHere", Explorer.ROLE_ID, MessagePayload.class); //PositionSq
	
	public static final KnownEvent KE_moveData=new KnownEvent("moveData", Explorer.ROLE_ID, MessagePayload.class); // KnownEnvironment FIXME
	
	public static final KnownEvent KE_changeRandom=new KnownEvent("changeRandom", Explorer.ROLE_ID);
	
	
	public static RoleAction iAmMaster(int addressee)
	{
		return new RoleAction("iAmMaster", addressee);
	}
	
	public static RoleAction syncData(int addressee,MessagePayload data)//KnownEnvironment
	{
		return new RoleAction("syncData", addressee, data);
	}
	
	
}
